package com.zhixiang.xaec.entity.safebase.saferesponsibility;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.cfg.Comment;

import com.zhixiang.xaec.entity.BaseEntity;
/**
 * @author gao
 * @since 2016-12-22 for 430
 * 
 */
@Entity
@Table(name="safebase_ResponsBookConfirm")
@Comment("安全责书确认")
public class SafetyResponsibilityBookConfirm extends BaseEntity
{
    @Comment("安全责书Id")
    private Long safetyResponsibilityBookId;
    
    //不映射到数据库，作为处理数据的中转站
    @Transient
    private SafetyResponsibilityBook safetyResponsibilityBook;
    
    @Comment("确认人")
    @Column(length=50)
    private String confirmationPerson;
    
    @Comment("确认人所在部门")
    @Column(length=100)
    private String confirmationPersonDeptName;
    
    @Comment("确认时间")
    @Column(length=50)
    private Date confirmationTime;
    
    @Comment("确认状态")
    @Column(length=10)
    private String confirmationStatus;

    /**
     * @return Returns the 安全责任书Id.
     */
    public Long getSafetyResponsibilityBookId()
    {
        return safetyResponsibilityBookId;
    }

    /**
     * @param safetyResponsibilityBookId The safetyResponsibilityBookId to set.
     */
    public void setSafetyResponsibilityBookId(Long safetyResponsibilityBookId)
    {
        this.safetyResponsibilityBookId = safetyResponsibilityBookId;
    }

    /**
     * @return Returns the 安全责任书（需手动查询设置）.
     */
    public SafetyResponsibilityBook getSafetyResponsibilityBook()
    {
        return safetyResponsibilityBook;
    }

    /**
     * @param safetyResponsibilityBook The safetyResponsibilityBook to set.
     */
    public void setSafetyResponsibilityBook(SafetyResponsibilityBook safetyResponsibilityBook)
    {
        this.safetyResponsibilityBook = safetyResponsibilityBook;
    }

    /**
     * @return Returns the 确认人.
     */
    public String getConfirmationPerson()
    {
        return confirmationPerson;
    }

    /**
     * @param confirmationPerson The confirmationPerson to set.
     */
    public void setConfirmationPerson(String confirmationPerson)
    {
        this.confirmationPerson = confirmationPerson;
    }

    /**
     * @return Returns the 确认人所在部门名称.
     */
    public String getConfirmationPersonDeptName()
    {
        return confirmationPersonDeptName;
    }

    /**
     * @param confirmationPersonDeptName The confirmationPersonDeptName to set.
     */
    public void setConfirmationPersonDeptName(String confirmationPersonDeptName)
    {
        this.confirmationPersonDeptName = confirmationPersonDeptName;
    }

    /**
     * @return Returns the 确认时间.
     */
    public Date getConfirmationTime()
    {
        return confirmationTime;
    }

    /**
     * @param confirmationTime The confirmationTime to set.
     */
    public void setConfirmationTime(Date confirmationTime)
    {
        this.confirmationTime = confirmationTime;
    }

    /**
     * @return Returns the 确认状态.
     */
    public String getConfirmationStatus()
    {
        return confirmationStatus;
    }

    /**
     * @param confirmationStatus The confirmationStatus to set.
     */
    public void setConfirmationStatus(String confirmationStatus)
    {
        this.confirmationStatus = confirmationStatus;
    }
    
    
    
    
    
}
